In Layout: <%= yield_content(:from_template) %>

In Template:
<%= yield %>